package com.yonyou.ucf.mdf.app.isvdxq.other.model;

import com.alibaba.fastjson.JSON;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.yonyou.ucf.mdf.app.isvdxq.other.entity.OrgUnitEntity;
import com.yonyou.ucf.mdf.app.isvdxq.other.entity.WarehouseEntity;

import java.util.List;

/*
* {
    "userId": "48ce32b9-26d0-42de-b84f-bf4500ac40a5",
    "userCode": "yy_6350095401097364508evevpx",
    "userName": "满坦坦",
    "userMobile": "182****5020",
    "userMobileCountrycode": "",
    "userEmail": "m****1@yonyou.com",
    "userActivate": "true",
    "registerDate": "2017-12-23 06:12:05",
    "userAvatorNew": "dev/yht/917/3267563/201806/29/15302519330db270bf6124bf1c1f54336ba424fe72.jpg.middle.jpg",
    "userBigAvatorNew": "dev/yht/917/3267563/201806/29/15302519330db270bf6124bf1c1f54336ba424fe72.jpg.big.jpg",
    "userSmallAvatorNew": "dev/yht/917/3267563/201806/29/15302519330db270bf6124bf1c1f54336ba424fe72.jpg.thumb.jpg",
    "sysId": "uspace"
}
* */
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonIgnoreProperties(ignoreUnknown = true)
public class UserBean {
    //yhtUserId
    private String userId;
    private String userCode;
    private String userName;
    private String userMobile;
    private String userEmail;
    //userstaffId 对应 userId
    private String user_id;
    //职员trueName
    private String name;
    private String tenant_id;
    private String yyToken;
    private String dxqToken;

    public String getYyToken() {
        return yyToken;
    }

    public void setYyToken(String yyToken) {
        this.yyToken = yyToken;
    }

    public String getDxqToken() {
        return dxqToken;
    }

    public void setDxqToken(String dxqToken) {
        this.dxqToken = dxqToken;
    }

    @Override
    public String toString() {
        return JSON.toJSONString(this);
    }
    private List<OrgUnitEntity> orgids;
    private List<WarehouseEntity> warehouseList;

    public List<OrgUnitEntity> getOrgids() {
        return orgids;
    }

    public void setOrgids(List<OrgUnitEntity> orgids) {
        this.orgids = orgids;
    }

    public List<WarehouseEntity> getWarehouseList() {
        return warehouseList;
    }

    public void setWarehouseList(List<WarehouseEntity> warehouseList) {
        this.warehouseList = warehouseList;
    }


    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getUserCode() {
        return userCode;
    }

    public void setUserCode(String userCode) {
        this.userCode = userCode;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getUserMobile() {
        return userMobile;
    }

    public void setUserMobile(String userMobile) {
        this.userMobile = userMobile;
    }

    public String getUserEmail() {
        return userEmail;
    }

    public void setUserEmail(String userEmail) {
        this.userEmail = userEmail;
    }

    public String getUser_id() {
        return user_id;
    }

    public void setUser_id(String user_id) {
        this.user_id = user_id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getTenant_id() {
        return tenant_id;
    }

    public void setTenant_id(String tenant_id) {
        this.tenant_id = tenant_id;
    }
}
